//
//  URLContext.hpp
//  VideoParse
//
//  Created by xiaerfei on 2020/2/10.
//  Copyright © 2020 erfeixia. All rights reserved.
//

#ifndef URLContext_hpp
#define URLContext_hpp

#include <stdio.h>

class URLContext {
    void *priv_data;
    char *filename;             /**< specified URL */
    int flags;
    int max_packet_size;        /**< if non zero, the stream is packetized with this max packet size */
    int is_streamed;            /**< true if streamed (no seek possible), default = false */
    int is_connected;
    int64_t rw_timeout;         /**< maximum time to wait for (network) read/write operation completion, in mcs */
    int min_packet_size;        /**< if non zero, the stream is packetized with this min packet size */
};

#endif /* URLContext_hpp */
